#include"../../client/Rpc_Client.hpp"




int main()
{
    xu::client::TopicClient::Ptr topicclient = std::make_shared<xu::client::TopicClient>("127.0.0.1",8989);
    topicclient->Create("xuzhengyou");

    for(int i = 0; i < 50; ++i)
    {
        topicclient->Publish("xuzhengyou","shuaishuaishuai");
        sleep(1);
    }
    return 0;
}
